OUT = presentation.pdf
SRC = presentation.tex *.tex
CLEAN = rm -rf *.log *.nav *.out *.snm *.vrb *.toc *.mtc* *~ *.aux

all:$(OUT)

$(OUT):$(SRC)
	pdflatex $(SRC) -o $(OUT)
	pdflatex $(SRC) -o $(OUT)
	pdflatex $(SRC) -o $(OUT)
	$(CLEAN)

clean:
	$(CLEAN)
	rm *pdf
